<!--
 * @Descripttion: 
 * @version: 1.0.0
 * @Author: 孙立政
 * @Date: 2021-12-15 14:12:49
 * @LastEditors: 孙立政
 * @LastEditTime: 2021-12-15 15:23:39
-->
<template>
  <div class="nav-bar">
    <div class="box">
      <div class="area">遂昌县</div>
      <div class="code-scan">
        <img
          class="code"
          src="https://diandi-app.oss-cn-hangzhou.aliyuncs.com/appV2/index/nav/code.png"
        />
        <img src="https://diandi-app.oss-cn-hangzhou.aliyuncs.com/appV2/index/nav/scan.png" />
      </div>
    </div>
  </div>
  <div class="separate"></div>
</template>

<script setup lang="ts">
import { onMounted } from 'vue'
</script>

<style lang="scss" scoped>
.nav-bar {
  width: 100%;
  height: 126px;
  background-color: #269865;
  .box {
    width: 710px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  .area {
    width: 204px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    background-image: url(https://diandi-app.oss-cn-hangzhou.aliyuncs.com/appV3/home/sc/area.png);
    background-size: 100% 100%;
    font-size: 32px;
    color: #f7fbff;
    margin-top: 18px;
  }
  .code-scan {
    display: flex;
    img {
      width: 44px;
      height: 44px;
      display: block;
      margin-top: 23px;
    }
    .code {
      margin-right: 40px;
    }
  }
}
.separate {
  width: 100%;
  height: 22px;
  border-radius: 26px 26px 0px 0px;
  background-color: #fff;
  position: relative;
  top: -22px;
}
</style>
